WordPress is currently the world's most widely used blog system, is an open source of PHP software. Because the user is numerous, so the WordPress community is very active, has the rich plug-in template resources. Use WordPress can quickly build independent blog site. Many well-known science and technology blog is also
WordPress Theme Authoring in template and bottom template, WordPress head
Get_header () (Get head)Introduce the theme of the header template, the default will be introduced in the current theme directory of the header.php file. If a name is specified, the header-{name}.php
ArticleDirectory
A complete set of WordPress templates should have at least the following files:
A complete set of WordPress basic template files should have at least the following files:
Style.css: CSS (style sheet) File
Index. php: homepage Template
Archive. php: Archive/Category
Brief introduction WordPress templates are combined to generate the pages of your website. Some templates, such as headers and footers, are public to all pages, and some are used only in some specific pages/situations. This article is about: This article answers the following questions: What template file is called when WordPress generates a specific page? Who ca
don't have a permanent link enabled, you need to edit the page URL by following these steps: Create a new page by writing a > page . Click the Publish button when the page content is complete. Open the admin > Page . Click on the edit next to the page. Click on the edit link to modify the permanent link that appears under the title.
In other words, if you do not enable the correct permanent link option, you will have to make changes to the URL after the page has been published. List Site pages
How to introduce a template file for WordPress theme creation: wordpress template. The WordPress template get_template_part () is used to reference the template file. it is similar to g
WordPress Basic Template fileA complete set of WordPress templates should have at least the following files:Style.css:CSS (style sheet) fileindex.php: Home TemplatesArchive.php:archive/category templates404.php:not Found Error page templatecomments.php: Message/reply templateFooter.php:Footer templatesHeader.php:Header templatessidebar.php: Side bar Templatepage.
This article describes how to obtain the header template and the bottom template in the WordPress topic writing, including the use of the get_header () and get_footer () functions. For more information, see
Get_header () (obtain the header)Introduce the header template of the topic. by default, the header. php file in
Understanding some of the above basic tags and PHP code can greatly help you modify WordPress. we suggest you back up this article and use it later for reference. Of course, if you are an HTML veteran, a DVI + CSS master, or a PHP holy hand, you do not have to do this!
For many new WordPress users, if they do not understand any code, they will blindly change the WordPr
Wordpressid is a simple method for obtaining the page ID of the template used in WordPress. WordPress provides a simple method to obtain the page ID of the template used. what is wordpressid? By default, WordPress uses page. php in the topic directory as the
A simple way to get the page ID of the template used in WordPress, Wordpressid
What is a template? By default WordPress is using the theme directory page.php to display the page as a template, but sometimes we need a different template
For more information, see WordPress. For more information, see The PHP function for WordPress to call comment templates and to output comments cyclically. For more information, see the wordpresscomments_templatecomments_template function, which is a function for calling comment templates, for more information about how to use WordPress, call the comment
Looking at template-laoder.php, this file is only 45 lines in total. Its role is to load the correct template based on the URL of the access.The sixth line of the file is also the first statement, as follows:if defined (' Wp_use_themes ') wp_use_themes) do_action (' Template_redirect ');First judge whether to use themes, the Wp_use_themes constant is set to true in the first sentence of index.php. As a
#21讲项目实战CMS-wordpress Theme Website template making 1, how to create a new theme templateLocate the folder Wamp->www->wp-content->themes, and then create a new folder here (name yourself) and put the static web site we developed into this.2, a complete site template to be specific to the following conditionsA), index.php homepage
What is a template? By default, WordPress uses the page under the topic directory. php is used to display pages as templates, but sometimes we need different templates to display pages, such as logon, registration, and contribution pages. These pages are different from common pages, at this time, WordPress provides a page tem
Template File(Template files) AndTemplate(Template) Is the second tutorial in the WordPress topic series from scratch. Before you start, make sure you have read the WordPress theme tutorial #1: Introduction. Otherwise, you will not be able to understand the terms used in tut
What is a template? By default WordPress is using the theme directory page.php to display the page as a template, but sometimes we need different templates to display pages, such as login, registration and submission page, and so on, these pages and ordinary pages are different, At this time WordPress provides a page
Yesterday the use of the Firefox firebug plug-in share, we see the trust will use. Today, we'll create a template for the theme.When we just started to install the WordPress system to enable a theme, the default home page is displayed in the list of articles, that is, the form of the blog, then it first call is the theme inside index.php this file. While we are looking at the more functional topics, they ba
From: http://www.xincss.com /? P = 55
WordPress Basic Template File
A complete set of WordPress templates should have at least the following files:
style.css: CSS (style sheet) File
index.php: Homepage Template
archive.php: Archive/Category Template
404.php: Not Found e
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.